package com.zcf.service.impl;

import com.zcf.pojo.Messages;
import com.zcf.common.json.Body;
import com.zcf.common.result.PageResult;
import com.zcf.common.result.ResultVo;
import com.zcf.mapper.MessagesMapper;
import com.zcf.service.MessagesService;
import com.zcf.vo.in.PageVo;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 搜索历史记录表 服务实现类
 * </p>
 *
 * @author loupeng
 * @since 2018-12-20
 */
@Service
public class MessagesServiceImpl extends ServiceImpl<MessagesMapper, Messages> implements MessagesService {

	@Autowired
	MessagesMapper messagesMapper;

//	@Override
//	public ResultVo queryList(String userId) {
////		EntityWrapper<Messages> ew = new EntityWrapper<>();
////		ew.eq("user_id", userId);
////		ew.orderBy("addtime", false);
//		List<Messages> lists = messagesMapper.queeryList( userId);
//
//		
//		return lists;
//	}

}
